package cn.yinyu.queue.module.ecg.controller.admin.call.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.util.*;

@Schema(description = "管理后台 - 叫号新增/修改 Request VO")
@Data
public class CallSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20296")
    private Integer id;

    @Schema(description = "患者编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1991")
    @NotEmpty(message = "患者编号不能为空")
    private String patId;

    @Schema(description = "患者姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "患者姓名不能为空")
    private String patName;

    @Schema(description = "患者性别")
    private Integer patGender;

    @Schema(description = "预约日期", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDate bookDate;

    @Schema(description = "排队序号")
    private Integer seqNum;

    @Schema(description = "过号标记")
    private Integer passed;

    @Schema(description = "预约过期标记")
    private Integer expired;

    @Schema(description = "叫号状态 0 未播 1 已播 ")
    private Integer called;

    @Schema(description = "插队标记")
    private Integer jumpFlag;

    @Schema(description = "叫号类型")
    private Integer callType;

    @Schema(description = "诊室编号", example = "30859")
    private Long roomId;

    @Schema(description = "诊室名称", example = "李四")
    private String roomName;

    @Schema(description = "诊疗床编号")
    private String bedNo;

}